package com.sudo.pojo;

import javax.persistence.*;

@Table(name = "sys_user")
public class SysUser {
    /**
     * 乐观锁
     */
    @Id
    private Integer id;

    /**
     * 登录名 创建后不能修改
     */
    @Column(name = "userName")
    private String username;

    /**
     * 邮箱 注册邮箱
     */
    @Column(name = "mail")
    private String mail;

    /**
     * 昵称
     */
    @Column(name = "nickName")
    private String nickName;

    /**
     * 密码
     */
    private String password;

    /**
     * 创建时间
     */
    @Column(name = "createTime")
    private String createTime;

    /**
     * 创建人
     */
    @Column(name = "createBy")
    private String createBy;

    /**
     * 更新时间
     */
    @Column(name = "updateTime")
    private String updateTime;

    /**
     * 更新人
     */
    @Column(name = "updateBy")
    private String updateBy;

    /**
     * 账户状态
     */
    private String status;

    /**
     * 来源
     */
    private String source;

    /**
     * 备注
     */
    private String note;

    /**
     * 签名
     */
    private String signature;
    /**
     * 用户头像
     */
    @Column(name = "profilePhoto")
    private String profilePhoto;
    /**
     * 职位
     */
    private String position;
    /**
     * 生日
     */
    private String birthday;

    /**
     * 获取乐观锁
     *
     * @return id - 乐观锁
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置乐观锁
     *
     * @param id 乐观锁
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取登录名 创建后不能修改
     *
     * @return userName - 登录名 创建后不能修改
     */
    public String getUsername() {
        return username;
    }

    /**
     * 设置登录名 创建后不能修改
     *
     * @param username 登录名 创建后不能修改
     */
    public void setUsername(String username) {
        this.username = username;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    /**
     * 获取昵称
     *
     * @return nickName - 昵称
     */
    public String getNickName() {
        return nickName;
    }

    /**
     * 设置昵称
     *
     * @param nickName 昵称
     */
    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    /**
     * 获取密码
     *
     * @return password - 密码
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置密码
     *
     * @param password 密码
     */
    public void setPassword(String password) {
        this.password = password;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    /**
     * 获取账户状态
     *
     * @return status - 账户状态
     */
    public String getStatus() {
        return status;
    }

    /**
     * 设置账户状态
     *
     * @param status 账户状态
     */
    public void setStatus(String status) {
        this.status = status;
    }

    /**
     * 获取来源
     *
     * @return source - 来源
     */
    public String getSource() {
        return source;
    }

    /**
     * 设置来源
     *
     * @param source 来源
     */
    public void setSource(String source) {
        this.source = source;
    }

    /**
     * 获取备注
     *
     * @return note - 备注
     */
    public String getNote() {
        return note;
    }

    /**
     * 设置备注
     *
     * @param note 备注
     */
    public void setNote(String note) {
        this.note = note;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }

    public String getProfilePhoto() {
        return profilePhoto;
    }

    public void setProfilePhoto(String profilePhoto) {
        this.profilePhoto = profilePhoto;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }
}